<ion-view class="bg">
  <ion-header-bar class="bar bar-positive">
    <h3 class="title">新用户注册</h3>
    <button class="button button-icon" ui-sref="login" ng-click="cleanTimmer()">登录</button>
  </ion-header-bar>
  <ion-content class="contentFlow">
    <div class="list card">
      <div class="item item-input">
        <i class="ion ion-android-phone-portrait positive iconMargin"></i>
        <input type="tel" maxlength="11" placeholder="请输入手机号" ng-model="registerUser.username" ng-change="changeNum(registerUser.username)">
      </div>
      <div class="item item-input">
        <i class="ion ion-android-checkbox-outline positive iconMargin"></i>
        <input type="tel" maxlength="4" placeholder="请输入验证码" ng-model="registerUser.verificationcode">
        <div class="button button-positive verificationCode" ng-click="getVerificationcode()" id="verificationCode" ng-bind="paracont">获取验证码</div>
      </div>
      <div class="item item-input">
        <i class="ion ion-ios-locked positive iconMargin"></i>
        <input type="password" placeholder="请输入登录密码" ng-model="registerUser.password" ng-change="changePwNum()">
      </div>
    </div>
    <div class="btn">
      <div class="button button-block button-positive" id="registerUser" ng-click="okRegister()">注册</div>
    </div>
  </ion-content>
</ion-view>
